package classes.players
{
    
    public class Player
    {
        /** Name of the player **/
        protected var name:string;
        
        /** Amount of money **/
        protected var money:int;
        
        /** Health of the player **/
        protected var health:int = 100;
        
        /** Mood of the player **/
        protected var mood:int;
        
        /** List of goods owned by player **/
        protected var goods:Array;
        
        
        /**
        * Constructor
        */
        public function Player() {
            
        }
        
        
        /**
        * Buy a new good
        */
        public function buy(good:Good) {
            
        }
        
        
        /**
        * Sell a owned good
        */
        public function sell(good:Good) {
            
        }
        
        
        /**
        * Seek for a good to buy
        */
        public function seekForGood(good:Good, maxPrice:int) {
            
        }
        
        
        /**
        * Make an offer for multiple goods you want to buy
        */
        public function bargain(goods:Array, price:int) {
            
        }
        
        
        /**
        * Build something
        */
        public function build(something:Good) {
            
        }
        
        
        /**
        * Send a message to another player
        */
        public function sendMessage(player:Player, message:Message) {
            
        }

    }
    
}